﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Truextend.CoffeShop.Model;

namespace Truextend.CoffeShop.DataAccess
{
	public class ConsumptionDataAccess
	{

        static CoffeShopEntities db = new CoffeShopEntities();

        public static void AddConsumption(Consumption consumption)
        {
            try {

                db.AddToConsumption(consumption);
                db.SaveChanges();

            }catch(Exception){}

        }
        
    }
}
